﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="CandidateInvoice" targetNamespace="http://tempuri.org/CandidateInvoice.xsd" xmlns:mstns="http://tempuri.org/CandidateInvoice.xsd" xmlns="http://tempuri.org/CandidateInvoice.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="ConnLeadCreation" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="ConnLeadCreation (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.ConnLeadCreation.ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Usp_GetCandidateInvoiceByCandidateIdTableAdapter" GeneratorDataComponentClassName="Usp_GetCandidateInvoiceByCandidateIdTableAdapter" Name="Usp_GetCandidateInvoiceByCandidateId" UserDataComponentName="Usp_GetCandidateInvoiceByCandidateIdTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ConnLeadCreation (Web.config)" DbObjectName="IQKS_UAT.dbo.Usp_GetCandidateInvoiceByCandidateId" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.Usp_GetCandidateInvoiceByCandidateId</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@CandidateID" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CandidateName" DataSetColumn="CandidateName" />
              <Mapping SourceColumn="CandidateAddress" DataSetColumn="CandidateAddress" />
              <Mapping SourceColumn="InvoiceNo" DataSetColumn="InvoiceNo" />
              <Mapping SourceColumn="InvoiceDate" DataSetColumn="InvoiceDate" />
              <Mapping SourceColumn="RegistrationNo" DataSetColumn="RegistrationNo" />
              <Mapping SourceColumn="CurrencySymbol" DataSetColumn="CurrencySymbol" />
              <Mapping SourceColumn="Item1" DataSetColumn="Item1" />
              <Mapping SourceColumn="Amount1" DataSetColumn="Amount1" />
              <Mapping SourceColumn="Item2" DataSetColumn="Item2" />
              <Mapping SourceColumn="Amount2" DataSetColumn="Amount2" />
              <Mapping SourceColumn="Item3" DataSetColumn="Item3" />
              <Mapping SourceColumn="Amount3" DataSetColumn="Amount3" />
              <Mapping SourceColumn="Item4" DataSetColumn="Item4" />
              <Mapping SourceColumn="Amount4" DataSetColumn="Amount4" />
              <Mapping SourceColumn="Item5" DataSetColumn="Item5" />
              <Mapping SourceColumn="Amount5" DataSetColumn="Amount5" />
              <Mapping SourceColumn="Item6" DataSetColumn="Item6" />
              <Mapping SourceColumn="Amount6" DataSetColumn="Amount6" />
              <Mapping SourceColumn="Amount" DataSetColumn="Amount" />
              <Mapping SourceColumn="CompanyName" DataSetColumn="CompanyName" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="CandidateInvoice" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="False" msprop:Generator_DataSetName="CandidateInvoice" msprop:Generator_UserDSName="CandidateInvoice">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Usp_GetCandidateInvoiceByCandidateId" msprop:Generator_TableClassName="Usp_GetCandidateInvoiceByCandidateIdDataTable" msprop:Generator_TableVarName="tableUsp_GetCandidateInvoiceByCandidateId" msprop:Generator_RowChangedName="Usp_GetCandidateInvoiceByCandidateIdRowChanged" msprop:Generator_TablePropName="Usp_GetCandidateInvoiceByCandidateId" msprop:Generator_RowDeletingName="Usp_GetCandidateInvoiceByCandidateIdRowDeleting" msprop:Generator_RowChangingName="Usp_GetCandidateInvoiceByCandidateIdRowChanging" msprop:Generator_RowEvHandlerName="Usp_GetCandidateInvoiceByCandidateIdRowChangeEventHandler" msprop:Generator_RowDeletedName="Usp_GetCandidateInvoiceByCandidateIdRowDeleted" msprop:Generator_RowClassName="Usp_GetCandidateInvoiceByCandidateIdRow" msprop:Generator_UserTableName="Usp_GetCandidateInvoiceByCandidateId" msprop:Generator_RowEvArgName="Usp_GetCandidateInvoiceByCandidateIdRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CandidateName" msprop:Generator_ColumnVarNameInTable="columnCandidateName" msprop:Generator_ColumnPropNameInRow="CandidateName" msprop:Generator_ColumnPropNameInTable="CandidateNameColumn" msprop:Generator_UserColumnName="CandidateName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="120" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CandidateAddress" msprop:Generator_ColumnVarNameInTable="columnCandidateAddress" msprop:Generator_ColumnPropNameInRow="CandidateAddress" msprop:Generator_ColumnPropNameInTable="CandidateAddressColumn" msprop:Generator_UserColumnName="CandidateAddress" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="InvoiceNo" msprop:Generator_ColumnVarNameInTable="columnInvoiceNo" msprop:Generator_ColumnPropNameInRow="InvoiceNo" msprop:Generator_ColumnPropNameInTable="InvoiceNoColumn" msprop:Generator_UserColumnName="InvoiceNo" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="120" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="InvoiceDate" msprop:Generator_ColumnVarNameInTable="columnInvoiceDate" msprop:Generator_ColumnPropNameInRow="InvoiceDate" msprop:Generator_ColumnPropNameInTable="InvoiceDateColumn" msprop:Generator_UserColumnName="InvoiceDate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="RegistrationNo" msprop:Generator_ColumnVarNameInTable="columnRegistrationNo" msprop:Generator_ColumnPropNameInRow="RegistrationNo" msprop:Generator_ColumnPropNameInTable="RegistrationNoColumn" msprop:Generator_UserColumnName="RegistrationNo" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CurrencySymbol" msprop:Generator_ColumnVarNameInTable="columnCurrencySymbol" msprop:Generator_ColumnPropNameInRow="CurrencySymbol" msprop:Generator_ColumnPropNameInTable="CurrencySymbolColumn" msprop:Generator_UserColumnName="CurrencySymbol" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Item1" msprop:Generator_ColumnVarNameInTable="columnItem1" msprop:Generator_ColumnPropNameInRow="Item1" msprop:Generator_ColumnPropNameInTable="Item1Column" msprop:Generator_UserColumnName="Item1" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="120" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Amount1" msprop:Generator_ColumnVarNameInTable="columnAmount1" msprop:Generator_ColumnPropNameInRow="Amount1" msprop:Generator_ColumnPropNameInTable="Amount1Column" msprop:Generator_UserColumnName="Amount1" type="xs:decimal" minOccurs="0" />
              <xs:element name="Item2" msprop:Generator_ColumnVarNameInTable="columnItem2" msprop:Generator_ColumnPropNameInRow="Item2" msprop:Generator_ColumnPropNameInTable="Item2Column" msprop:Generator_UserColumnName="Item2" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="120" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Amount2" msprop:Generator_ColumnVarNameInTable="columnAmount2" msprop:Generator_ColumnPropNameInRow="Amount2" msprop:Generator_ColumnPropNameInTable="Amount2Column" msprop:Generator_UserColumnName="Amount2" type="xs:decimal" minOccurs="0" />
              <xs:element name="Item3" msprop:Generator_ColumnVarNameInTable="columnItem3" msprop:Generator_ColumnPropNameInRow="Item3" msprop:Generator_ColumnPropNameInTable="Item3Column" msprop:Generator_UserColumnName="Item3" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="120" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Amount3" msprop:Generator_ColumnVarNameInTable="columnAmount3" msprop:Generator_ColumnPropNameInRow="Amount3" msprop:Generator_ColumnPropNameInTable="Amount3Column" msprop:Generator_UserColumnName="Amount3" type="xs:decimal" minOccurs="0" />
              <xs:element name="Item4" msprop:Generator_ColumnVarNameInTable="columnItem4" msprop:Generator_ColumnPropNameInRow="Item4" msprop:Generator_ColumnPropNameInTable="Item4Column" msprop:Generator_UserColumnName="Item4" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="120" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Amount4" msprop:Generator_ColumnVarNameInTable="columnAmount4" msprop:Generator_ColumnPropNameInRow="Amount4" msprop:Generator_ColumnPropNameInTable="Amount4Column" msprop:Generator_UserColumnName="Amount4" type="xs:decimal" minOccurs="0" />
              <xs:element name="Item5" msprop:Generator_ColumnVarNameInTable="columnItem5" msprop:Generator_ColumnPropNameInRow="Item5" msprop:Generator_ColumnPropNameInTable="Item5Column" msprop:Generator_UserColumnName="Item5" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="120" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Amount5" msprop:Generator_ColumnVarNameInTable="columnAmount5" msprop:Generator_ColumnPropNameInRow="Amount5" msprop:Generator_ColumnPropNameInTable="Amount5Column" msprop:Generator_UserColumnName="Amount5" type="xs:decimal" minOccurs="0" />
              <xs:element name="Item6" msprop:Generator_ColumnVarNameInTable="columnItem6" msprop:Generator_ColumnPropNameInRow="Item6" msprop:Generator_ColumnPropNameInTable="Item6Column" msprop:Generator_UserColumnName="Item6" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="120" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Amount6" msprop:Generator_ColumnVarNameInTable="columnAmount6" msprop:Generator_ColumnPropNameInRow="Amount6" msprop:Generator_ColumnPropNameInTable="Amount6Column" msprop:Generator_UserColumnName="Amount6" type="xs:decimal" minOccurs="0" />
              <xs:element name="Amount" msprop:Generator_ColumnVarNameInTable="columnAmount" msprop:Generator_ColumnPropNameInRow="Amount" msprop:Generator_ColumnPropNameInTable="AmountColumn" msprop:Generator_UserColumnName="Amount" type="xs:decimal" minOccurs="0" />
              <xs:element name="CompanyName" msprop:Generator_ColumnVarNameInTable="columnCompanyName" msprop:Generator_ColumnPropNameInRow="CompanyName" msprop:Generator_ColumnPropNameInTable="CompanyNameColumn" msprop:Generator_UserColumnName="CompanyName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>